package com.reiuy.vo;


import java.sql.Timestamp;

public class Transactioninfo {
    private Integer transactionid;
    private Timestamp transactiontime;
    private Integer goodid;
    private String goodname;
    private Float goodprice;
    private String goodintro;
    private String username;
    private Integer quantity;
    private Float totalprice;
    private String transactionstate;

    public Integer getTransactionid() {
        return transactionid;
    }

    public void setTransactionid(Integer transactionid) {
        this.transactionid = transactionid;
    }

    public Timestamp getTransactiontime() {
        return transactiontime;
    }

    public void setTransactiontime(Timestamp transactiontime) {
        this.transactiontime = transactiontime;
    }

    public String getGoodname() {
        return goodname;
    }

    public void setGoodname(String goodname) {
        this.goodname = goodname;
    }

    public Float getGoodprice() {
        return goodprice;
    }

    public void setGoodprice(Float goodprice) {
        this.goodprice = goodprice;
    }

    public String getGoodintro() {
        return goodintro;
    }

    public void setGoodintro(String goodintro) {
        this.goodintro = goodintro;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Float getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(Float totalprice) {
        this.totalprice = totalprice;
    }

    public Integer getGoodid() {
        return goodid;
    }

    public void setGoodid(Integer goodid) {
        this.goodid = goodid;
    }

    public String getTransactionstate() {
        return transactionstate;
    }

    public void setTransactionstate(String transactionstate) {
        this.transactionstate = transactionstate;
    }

    @Override
    public String toString() {
        return "Transactioninfo{" +
                "transactionid=" + transactionid +
                ", transactiontime=" + transactiontime +
                ", goodid=" + goodid +
                ", goodname='" + goodname + '\'' +
                ", goodprice=" + goodprice +
                ", goodintro='" + goodintro + '\'' +
                ", username='" + username + '\'' +
                ", quantity=" + quantity +
                ", totalprice=" + totalprice +
                ", transactionstate='" + transactionstate + '\'' +
                '}';
    }
}


